import AppTable from '@/components/AppTable';
import { FC } from 'react';
import styles from './index.module.less';

interface ProjectManageAllProps {}

const ProjectManageAll: FC<ProjectManageAllProps> = function (props: ProjectManageAllProps) {
  return (
    <div className={styles.pmAllContainer}>
      <AppTable
        title="所有项目"
        api='/project/all'
        columns={[
          {
            title: '项目id',
            copyable: true,
            dataIndex: 'id',
          },
          {
            title: '名称',
            dataIndex: 'name',
          },
          {
            title: '仓库地址',
            copyable: true,
            dataIndex: 'respository',
          },
        ]}
      />
    </div>
  );
};

export default ProjectManageAll;
